#ifndef CAPTUREWIN_H
#define CAPTUREWIN_H

#include <QWidget>
#include <sys/time.h>

class QImage;
class QLabel;

class CaptureWin:public QWidget
{
    Q_OBJECT

public:
    CaptureWin();
    virtual CaptureWin(){}

    void setImage(const QImage &image, const QString &status);

protected:
    virtual void closeEvent(QCloseEvent *event);

signals:
    void close();

private:
    QLabel *m_label;
    QLabel *m_msg;
};

#endif // CAPTUREWIN_H
